package com.sys.ip;

/*
 * LumaQQ - Java QQ Client

/**
 * <pre>
 * 一条IP范围记录，不仅包括国家和区域，也包括起始IP和结束IP
 * </pre>
 * 
 * @author 马若劼
 */
public class IPEntry {
	public String beginIp;

	public String endIp;

	public String country;

	public String area;

	/**
	 * 构造函数
	 */
	public IPEntry() {
		beginIp = "";
		endIp = "";
		country = "";
		area = "";
	}

	public final String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(this.area).append("  ").append(this.country);
		sb.append("  IP范围:").append(this.beginIp).append("-").append(this.endIp);
		return sb.toString();
	}
}
